﻿package mortal.game.view.active11
{
    import mortal.common.tools.*;
    import mortal.game.manager.*;

    public class Active11Util extends Object
    {
        private static var startDt:Date = new Date("2015/11/10 00:00:00");
        private static var endDt:Date = new Date("2015/11/13 23:59:59");

        public function Active11Util()
        {
            return;
        }// end function

        public static function isInActive11() : Boolean
        {
            var _loc_1:* = ClockManager.instance.nowDate.time;
            return _loc_1 >= startDt.time && _loc_1 < endDt.time;
        }// end function

        public static function isInActive11Card() : Boolean
        {
            var _loc_1:* = isInActive11();
            var _loc_2:* = DateUtil.getDayDis(new Date("2015/11/6 00:00:00"), ClockManager.instance.serverOpenDate) >= 0;
            return _loc_1 && !_loc_2;
        }// end function

    }
}
